//
//  NBJEvent.h
//  nbj
//
//  Created by Francois Proulx on 09-09-20.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>

@class NBJEventAnnotation;

@interface NBJEvent :  NSManagedObject  {
@private
	NBJEventAnnotation *annotation;
}

@property (nonatomic, retain) NSString * address;
@property (nonatomic, retain) NSDate * date;
@property (nonatomic, retain) NSDecimalNumber * longitude;
@property (nonatomic, retain) NSDecimalNumber * latitude;
@property (nonatomic, retain) NSNumber * eventId;
@property (nonatomic, retain) NSString * guid;
@property (nonatomic, retain) NSString * name;
@property (nonatomic, retain) NSString * text;

@property (nonatomic, readonly, retain) NBJEventAnnotation *annotation;
@property (nonatomic, readonly, retain) NBJEventAnnotation *existingAnnotation;

- (NSString *) eventDescription;

@end



